<template>
  <div id="app">
    <Header />
    <main class="main-content">
      <CategoryNav />
      <AdBanner />
      <ProductList />
    </main>
    <Footer />
  </div>
</template>

<script>
import Header from "./components/Header.vue";
import CategoryNav from "./components/CategoryNav.vue";
import AdBanner from "./components/AdBanner.vue";
import ProductList from "./components/ProductList.vue";
import Footer from "./components/Footer.vue";

export default {
  components: {
    Header,
    CategoryNav,
    AdBanner,
    ProductList,
    Footer,
  },
};
</script>

<style>
#app {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.main-content {
  flex: 1;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
</style>
